﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class Dqfzrb : System.Web.UI.Page
{
    public string fh1 = "";
    public string fh2 = "";
    public string zry1 = "";
    public string zry2 = "";
    public string zrw1 = "";
    public string zrw2 = "";
    public string zhqy1 = "";
    public string zhqy2 = "";
    public string zhqw1 = "";
    public string zhqw2 = "";

    SAC.Elink.Elink ek = new SAC.Elink.Elink();

    protected void Page_Load(object sender, EventArgs e)
    {
        double val = 0;

        string pFh1 = "WHSIS.U1APSH.U1A00015";
        string pFh2 = "WHSIS.U2APSH.U2A00015";
        string pZhqw1 = "WHSIS.CALC.CALC0003";
        string pZhqw2 = "WHSIS.CALC.CALC2003";
        string pZhqy1 = "WHSIS.CALC.CALC0001";
        string pZhqy2 = "WHSIS.CALC.CALC2001";
        string pZrw1 = "WHSIS.CALC.CALC0002";
        string pZrw2 = "WHSIS.CALC.CALC2002";
        string pZry1 = "WHSIS.U1APSH.U1A00881";
        string pZry2 = "WHSIS.U2APSH.U2A00881";

        val = ek.GetRTValue(pFh1);

        fh1 = val.ToString("f1");

        val = ek.GetRTValue(pFh2);

        fh2 = val.ToString("f1");

        val = ek.GetRTValue(pZry1);

        zry1 = val.ToString("f1");

        val = ek.GetRTValue(pZry2);

        zry2 = val.ToString("f1");

        val = ek.GetRTValue(pZrw1);

        zrw1 = val.ToString("f1");

        val = ek.GetRTValue(pZrw2);

        zrw2 = val.ToString("f1");


        val = ek.GetRTValue(pZhqw1);

        zhqw1 = val.ToString("f1");

        val = ek.GetRTValue(pZhqw2);

        zhqw2 = val.ToString("f1");

        val = ek.GetRTValue(pZhqy1);

        zhqy1 = val.ToString("f1");

        val = ek.GetRTValue(pZhqy2);

        zhqy2 = val.ToString("f1");

        //Response.Write("<script language=javascript>window.open('../SmPoint.aspx','','height=600,width=550,top=100,left=320,location=no,menubar=no,resizable=yes,scrollbars=yes,status=yes,titlebar=no,toolbar=no,directories=no')</script>");
    }
}
